/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.customer.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.customer.entity.CustomerContact;
import com.jeeplus.modules.customer.mapper.CustomerContactMapper;

/**
 * 客户联系人Service
 * @author 卢经纬
 * @version 2018-06-29
 */
@Service
@Transactional(readOnly = true)
public class CustomerContactService extends CrudService<CustomerContactMapper, CustomerContact> {

	public CustomerContact get(String id) {
		return super.get(id);
	}
	
	public List<CustomerContact> findList(CustomerContact customerContact) {
		return super.findList(customerContact);
	}
	
	public Page<CustomerContact> findPage(Page<CustomerContact> page, CustomerContact customerContact) {
		return super.findPage(page, customerContact);
	}
	
	@Transactional(readOnly = false)
	public void save(CustomerContact customerContact) {
		super.save(customerContact);
	}
	
	@Transactional(readOnly = false)
	public void delete(CustomerContact customerContact) {
		super.delete(customerContact);
	}
	
}